cairo: accelerate R'G'B'A u8 -> cairo-ARGB32 conversion
authorEll <ell_se@yahoo.com>
Sun, 21 Oct 2018 09:18:36 +0000 (05:18 -0400)
committerEll <ell_se@yahoo.com>
Sun, 21 Oct 2018 09:26:06 +0000 (05:26 -0400)
commit6d890333f6337fe044cce3eed3e474e43cd7afc9
tree98f1f6b3351fd8591c4af18c05efd65cb3a21770
parent928aeb093f6875249c77551c2d0449c9b42b1406
cairo: accelerate R'G'B'A u8 -> cairo-ARGB32 conversion

Accelerate the R'G'B'A u8 -> cairo-ARGB32 conversion by processing
the entire RGBA tuple in parallel (or, on 32-bit machines, in two
parts), instead of component-by-component, using wide integer
arithmetic/logic.  This speeds the conversion up by ~25%.
extensions/cairo.c